package com.yunzhong.appointment.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import com.yunzhong.appointment.entity.DoctorIllness;

public interface DoctorIllnessMapper {
    int deleteByPrimaryKey(String docillId);

    int insert(DoctorIllness record);

    int insertSelective(DoctorIllness record);

    DoctorIllness selectByPrimaryKey(String docillId);

    int updateByPrimaryKeySelective(DoctorIllness record);

    int updateByPrimaryKey(DoctorIllness record);
    /**
     * @description 根据医生外键删除信息
     * @author 石洪刚
     * @time 2017年9月11日09:47:58
     * @param id
     */
    @Delete("delete from doctor_illness where doctor_id = #{id}")
	void removeByDoctorId(String id);
    
}